package com.liang.blog.vo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author：YanWenLiang
 * @Date:2023-08-15-15:49
 */
@Data
public class UserInfoVo {

    private Long id;

    @ApiModelProperty(value = "微信openid")
    private String openid;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户账号")
    private String account;

    @ApiModelProperty(value = "头像链接")
    private String avatar;

    @ApiModelProperty(value = "状态（0：锁定 1：正常）")
    private Integer status;

    private String loginIp;

    private Long roleId;

    private String roleName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String email;

    private String emailCode;

    private String loginUuid;
}
